﻿using System;
using Model.Base;
using Model.Config;
using Model.AuthModel;
namespace Model.Cms
{
    /// <summary>
    /// 模型层，内容管理，节点
    /// </summary>
    public class NodeInfo : BaseInfo
    {
        /// <summary>
        /// 节点编号
        /// </summary>
        public int NodeID { get; set; }

        /// <summary>
        /// 节点版块
        /// </summary>
        public TermInfo NodeChannel { get; set; }

        /// <summary>
        /// 节点名称
        /// </summary>
        public string NodeName { get; set; }

        /// <summary>
        /// seo优化关键字
        /// </summary>
        public string SeoKeyword { get; set; }

        /// <summary>
        /// 头部脚本
        /// </summary>
        public string HeadScript { get; set; }

        /// <summary>
        /// 节点内容
        /// </summary>
        public string BodyContent { get; set; }
    }

    /// <summary>
    /// 模型层，内容管理，节点搜索
    /// </summary>
    public class NodeCondition : BaseCondition
    {
        public int NodeChannelID { get; set; }
        public string NodeChannelLabel { get; set; }
    }
}
